<!--<div class="box-orange <?if ($this->router->method == 'get_all') echo 'details_radius';?>">-->
<div class="box-orange details_radius">

    <h4><?= lang('search.your.details') ?></h4>

    <ul class="side-form wide">
        <?if (isset($_POST['freetext']) && $_POST['freetext'] != ""): ?>
        <li>
            <h5><?=lang('free_text');?>:</h5>

            <p><?=$_POST['freetext']?></p>
        </li>
        <? endif;?>
        <li>
            <h5><?=lang('sel_weekday');?>:</h5>

            <p>
                <?

                if (empty($days_search)) {
                    echo lang('week_any');
                } else {
                    $selected_days = "";

                    foreach ($days_search as $d) :
                        $selected_days .= tranlate_days(lang('week_days'), ucfirst($d)) . ', ';
                    endforeach;

                    echo substr_replace($selected_days, "", -2);
                }

                ?>
            </p>
        </li>
        <li>
            <h5><?= lang('search.travelers') ?>:</h5>

            <p><?= lang('adults') ?>: <? if(isset($_POST['adults'])) echo $_POST['adults'];?></p>
            <? if (isset($_POST['children']) && $_POST['children'] > 0): ?>
            <p> <?= lang('children') ?>: <?=$_POST['children'];?></p>
            <? endif;?>
        </li>
    </ul>


    <a href="#" class="form-button" id="changeDetasilsButton"><?= lang('search.change.details') ?> &raquo;</a>

</div><!-- / Form -->